//
//  ShareView.h
//  Btpin
//
//  Created by Vic on 2019/4/27.
//  Copyright © 2019 Vic. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class ShareView;

@protocol ShareViewDelegate <NSObject>
@optional
- (void)shareViewCancel:(ShareView *)shareView;
- (void)shareViewSelectItem:(ShareView *)shareView type:(ShareType)shareType;
@end

@interface ShareView : UIButton

@property (nonatomic, weak) id<ShareViewDelegate>delegate;

- (instancetype)initWithTarget:(id)target;

@end

NS_ASSUME_NONNULL_END
